package com.study.service.impl;

import com.study.dao.LoginDao;
import com.study.service.LoginService;

public class LoginServiceImpl implements LoginService {
    private LoginDao loginDao;

    @Override
    public Login checkLogin(String username, String password) {
        return loginDao.checkLogin(username, password);
    }

    public LoginDao getLoginDao() {
        return loginDao;
    }

    public void setLoginDao(LoginDao loginDao) {
        this.loginDao = loginDao;
    }
}
